<?php
/*
 * 	NUBERU CMS (2011)
 * 
 * 	Aitor González Fernández
 * 	http://proyectsource.tk
 * 
 * */

/* *********** Control de entrada ****************************** */

if (!defined('NUBERU')){
	header("Location: ../error.php?error=403");
	die();
}
 
/* ************************************************************* */
	
if (defined('CONFIG_LOADED')){
	$DB_CONNECTION = mysql_connect( CFG_DB_HOST, CFG_DB_USER, CFG_DB_PASS) or die(header("Location: ./error.php?error=721");
	mysql_select_db(CFG_DB_DBNM) or die(header("Location: ./error.php?error=722");
}
else {
	die(header("Location: ./error.php?error=701"));
}

?>
